/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.pig4cloud.pig.fx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.pig4cloud.pig.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 国产豪车
 *
 * @author pig code generator
 * @date 2022-11-18 13:15:50
 */
@Data
@TableName("bigdata_car")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "国产豪车")
public class BigdataCar extends BaseEntity {

	/**
	 * id
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@Schema(description = "id")
	private Long id;

	/**
	 * 号牌号码
	 */
	@Schema(description = "号牌号码")
	private String plateNumber;

	/**
	 * 车辆品牌
	 */
	@Schema(description = "车辆品牌")
	private String brandVehicle;

	/**
	 * 车辆型号代码
	 */
	@Schema(description = "车辆型号代码")
	private String modelNumberCode;

	/**
	 * 车辆型号
	 */
	@Schema(description = "车辆型号")
	private String modelCar;

	/**
	 * 国产/进口
	 */
	@Schema(description = "国产/进口 ")
	private String domesticImport;

	/**
	 * 识别代号
	 */
	@Schema(description = "识别代号")
	private String identificationCode;

	/**
	 * 排量
	 */
	@Schema(description = "排量")
	private BigDecimal displacement;

	/**
	 * 出生年
	 */
	@Schema(description = "出生年")
	private Integer yearBirth;

	/**
	 * 姓名
	 */
	@Schema(description = "姓名")
	private String name;

	/**
	 * 性别 0：男 1：女 2：保密
	 */
	@Schema(description = "性别 0：男   1：女    2：保密")
	private Integer sex;

	/**
	 * 发牌日期
	 */
	@Schema(description = "发牌日期")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private LocalDateTime dateIssue;

	/**
	 * 所在区域
	 */
	@Schema(description = "所在区域")
	private String area;

	/**
	 * 手机号
	 */
	@Schema(description = "手机号")
	private Integer phone;

	/**
	 * 初次登记时间
	 */
	@Schema(description = "初次登记时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private LocalDateTime initialRegistrationTime;

	/**
	 * 车身颜色
	 */
	@Schema(description = "车身颜色")
	private String carColor;

	/**
	 * 出厂日期
	 */
	@Schema(description = "出厂日期")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private LocalDateTime dateProduction;

	/**
	 * 生产厂
	 */
	@Schema(description = "生产厂")
	private String manufacturingPlant;

}
